package com.car.serve.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.car.serve.entity.ServeProject;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("serve_info")
public class ServeInfoDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "serve_id", type = IdType.AUTO)
    private Integer serveId;

    @TableField("serve_name")
    private String serveName;

    @TableField("serve_state")
    private Integer serveState;

    /**
     * 1:保养2：洗车3：改装
     */
    @TableField("serve_type_id")
    private Integer serveTypeId;
    @TableField("serve_type_name")
    private String serveTypeName;

    @TableField("car_type_id")
    private Integer carTypeId;
    @TableField("car_type_name")
    private String carTypeName;

    @TableField("serve_price")
    private BigDecimal servePrice;

    @TableField("score")
    private BigDecimal score;

    @TableField("admin_id")
    private Integer adminId;

    @TableField("modify_time")
    private String modifyTime;

    @TableField("serve_dateil")
    private String serveDateil;
    private List<ServeProject> serveProjectList;

}
